AddError Salesforce Loop

1 articles

Salesforce AddError

First,let's have a look at Salesforce API about adderror: addError(errorMsg)Marks a record with a custom error message and prevents any DML operation from occurring. Notice that the first word is 'Marks', means this function will not stop any script. I wrote a trigger for test this. triggertestAd... >>